import request from '@/utils/request'

// 获得后端社联列表
export function getCouncilList (params) {
  return request({
    url: '/organization/getCouncilList',
    method: 'post',
    params
  })
}

// 创建社联
export function createCouncil (params) {
  return request({
    url: '/organization/createCouncil',
    method: 'post',
    params
  })
}

// 创建返利比例
export function create (params) {
  return request({
    url: '/orderRevenueSettings/create',
    method: 'post',
    params
  })
}

// 修改社联返利比例
export function updateOrderRevenueSettings (params) {
  return request({
    url: '/orderRevenueSettings/updateOrderRevenueSettings',
    method: 'post',
    params
  })
}
